{
  "cells": [
    {
      "cell_type": "markdown",
      "source": [
        "# Check if Time Series Stationary"
      ],
      "metadata": {
        "nteract": {
          "transient": {
            "deleting": false
          }
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "import pandas as pd\n",
        "import numpy as np\n",
        "import statsmodels.api as sm\n",
        "from statsmodels.tsa.stattools import adfuller\n",
        "import matplotlib.pyplot as plt\n",
        "\n",
        "import warnings\n",
        "warnings.filterwarnings(\"ignore\")\n",
        "\n",
        "import yfinance as yf\n",
        "yf.pdr_override()"
      ],
      "outputs": [],
      "execution_count": 1,
      "metadata": {
        "collapsed": true,
        "jupyter": {
          "source_hidden": false,
          "outputs_hidden": false
        },
        "nteract": {
          "transient": {
            "deleting": false
          }
        },
        "execution": {
          "iopub.status.busy": "2021-06-23T01:51:40.932Z",
          "iopub.execute_input": "2021-06-23T01:51:40.936Z",
          "iopub.status.idle": "2021-06-23T01:51:42.042Z",
          "shell.execute_reply": "2021-06-23T01:51:42.056Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "# input\n",
        "symbol = 'AMD'\n",
        "start = '2014-01-01'\n",
        "end = '2019-01-01'\n",
        "\n",
        "# Read data \n",
        "dataset = yf.download(symbol,start,end)\n",
        "\n",
        "# View Columns\n",
        "dataset.head()"
      ],
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "[*********************100%***********************]  1 of 1 completed\n"
          ]
        },
        {
          "output_type": "execute_result",
          "execution_count": 2,
          "data": {
            "text/plain": "            Open  High   Low  Close  Adj Close    Volume\nDate                                                    \n2014-01-02  3.85  3.98  3.84   3.95       3.95  20548400\n2014-01-03  3.98  4.00  3.88   4.00       4.00  22887200\n2014-01-06  4.01  4.18  3.99   4.13       4.13  42398300\n2014-01-07  4.19  4.25  4.11   4.18       4.18  42932100\n2014-01-08  4.23  4.26  4.14   4.18       4.18  30678700",
            "text/html": "<div>\n<style scoped>\n    .dataframe tbody tr th:only-of-type {\n        vertical-align: middle;\n    }\n\n    .dataframe tbody tr th {\n        vertical-align: top;\n    }\n\n    .dataframe thead th {\n        text-align: right;\n    }\n</style>\n<table border=\"1\" class=\"dataframe\">\n  <thead>\n    <tr style=\"text-align: right;\">\n      <th></th>\n      <th>Open</th>\n      <th>High</th>\n      <th>Low</th>\n      <th>Close</th>\n      <th>Adj Close</th>\n      <th>Volume</th>\n    </tr>\n    <tr>\n      <th>Date</th>\n      <th></th>\n      <th></th>\n      <th></th>\n      <th></th>\n      <th></th>\n      <th></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <th>2014-01-02</th>\n      <td>3.85</td>\n      <td>3.98</td>\n      <td>3.84</td>\n      <td>3.95</td>\n      <td>3.95</td>\n      <td>20548400</td>\n    </tr>\n    <tr>\n      <th>2014-01-03</th>\n      <td>3.98</td>\n      <td>4.00</td>\n      <td>3.88</td>\n      <td>4.00</td>\n      <td>4.00</td>\n      <td>22887200</td>\n    </tr>\n    <tr>\n      <th>2014-01-06</th>\n      <td>4.01</td>\n      <td>4.18</td>\n      <td>3.99</td>\n      <td>4.13</td>\n      <td>4.13</td>\n      <td>42398300</td>\n    </tr>\n    <tr>\n      <th>2014-01-07</th>\n      <td>4.19</td>\n      <td>4.25</td>\n      <td>4.11</td>\n      <td>4.18</td>\n      <td>4.18</td>\n      <td>42932100</td>\n    </tr>\n    <tr>\n      <th>2014-01-08</th>\n      <td>4.23</td>\n      <td>4.26</td>\n      <td>4.14</td>\n      <td>4.18</td>\n      <td>4.18</td>\n      <td>30678700</td>\n    </tr>\n  </tbody>\n</table>\n</div>"
          },
          "metadata": {}
        }
      ],
      "execution_count": 2,
      "metadata": {
        "collapsed": true,
        "jupyter": {
          "source_hidden": false,
          "outputs_hidden": false
        },
        "nteract": {
          "transient": {
            "deleting": false
          }
        },
        "execution": {
          "iopub.status.busy": "2021-06-23T01:51:42.048Z",
          "iopub.execute_input": "2021-06-23T01:51:42.052Z",
          "iopub.status.idle": "2021-06-23T01:51:43.008Z",
          "shell.execute_reply": "2021-06-23T01:51:43.052Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "series = dataset['Adj Close']"
      ],
      "outputs": [],
      "execution_count": 3,
      "metadata": {
        "collapsed": true,
        "jupyter": {
          "source_hidden": false,
          "outputs_hidden": false
        },
        "nteract": {
          "transient": {
            "deleting": false
          }
        },
        "execution": {
          "iopub.status.busy": "2021-06-23T01:51:43.014Z",
          "iopub.execute_input": "2021-06-23T01:51:43.019Z",
          "iopub.status.idle": "2021-06-23T01:51:43.027Z",
          "shell.execute_reply": "2021-06-23T01:51:43.056Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "series.plot()\n",
        "plt.show()"
      ],
      "outputs": [
        {
          "output_type": "display_data",
          "data": {
            "text/plain": "<Figure size 432x288 with 1 Axes>",
            "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXAAAAD8CAYAAABuHP8oAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAxd0lEQVR4nO3deXxU1dnA8d+TfV8gIeyEHUVZJAUVKSiu1bbuVlu11qVa21pr7Yt96/ZqW7u5tdWq1bpr3bVqUVQqIgqEVRZZhLCEAAkQsieznPePe2cyk0ySSTJLJnm+n08+mXvn3plzMpNnzjz3LGKMQSmlVOyJi3YBlFJKdY0GcKWUilEawJVSKkZpAFdKqRilAVwppWKUBnCllIpRCZF8sry8PFNYWBjJp1RKqZi3YsWKCmNMfsv9EQ3ghYWFFBcXR/IplVIq5onIjkD7NYWilFIxSgO4UkrFKA3gSikVozSAK6VUjNIArpRSMUoDuFJKtWH3obpoF6FdGsCVUiqAFTsOcsLvF3LHW+u55LHPqaxrinaRWtEArpRSAVQ3OAF4ckkJS746wOVPLItyiVrTAK6UUgHUNbn8tjeWVUepJG3TAK6UUgH86LmVftujB2REqSRt0wCulFJBOOOogdEuQisawJVSKghOd89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N4EopFaP+H5AR1vpnU6LXAAAAAElFTkSuQmCC\n"
          },
          "metadata": {
            "needs_background": "light"
          }
        }
      ],
      "execution_count": 4,
      "metadata": {
        "collapsed": true,
        "jupyter": {
          "source_hidden": false,
          "outputs_hidden": false
        },
        "nteract": {
          "transient": {
            "deleting": false
          }
        },
        "execution": {
          "iopub.status.busy": "2021-06-23T01:51:43.033Z",
          "iopub.execute_input": "2021-06-23T01:51:43.037Z",
          "iopub.status.idle": "2021-06-23T01:51:43.147Z",
          "shell.execute_reply": "2021-06-23T01:51:43.169Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "series.hist()\n",
        "plt.show()"
      ],
      "outputs": [
        {
          "output_type": "display_data",
          "data": {
            "text/plain": "<Figure size 432x288 with 1 Axes>",
            "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXcAAAD4CAYAAAAXUaZHAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAASNUlEQVR4nO3df4xl5X3f8fcnYMcW47IQ3BFatl23RrEsqAmMMFaiaMYoEeCqSyQH2aLxYlFt/8AWkV2Jbf5JUrXqpm1i2WpEtS1Wl8rJGGE7rMBJg9aMXP6AZNfGLDaNWKOlYbRmZRs2GbtJRPLtH/NsOt7Mj7szd/be+/B+SaN7znOec+/3ucf7ucfPPeeSqkKS1JcfG3UBkqThM9wlqUOGuyR1yHCXpA4Z7pLUoYtHXQDAFVdcUbt37x51GZv2gx/8gEsuuWTUZWyJYxgPjmE8TMoYjh079t2qevtq28Yi3Hfv3s3Ro0dHXcamLSwsMDs7O+oytsQxjAfHMB4mZQxJXlprm9MyktQhw12SOmS4S1KHDHdJ6pDhLkkdMtwlqUOGuyR1yHCXpA4Z7pLUobG4Q3Urdu9/bGSvffLAB0b22pK0Hs/cJalDhrskdWigcE+yI8nDSf53kueTvC/J5Uke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5pc6hn51JPj7ie81ZVr7R/pH8D/Fcm4Fi0Od4vAJ+rqi+25ok5FqvVP4nH4ayqeg14AngfsCPJ2Rs9J+5nVAz3LUhySfsiiSSXAD8PPLf+XmPrMLC3Le8FHhlhLZtyNhCbX2DMj0X7Iu8B4Pmq+q0VmybiWKxV/wQeh7cn2dGW3wr8HMvfHzwBfLB1G9vjsBavltmCJP+I5bN1WP4ph9+pqn83wpIGkuR3gVmWf9b0FeBXgd8DHgL+AfAScEdVje0XlmuMYZblqYACTgL/csXc9dhJ8jPA/wKOA3/Tmn+F5XnrsT8W69T/YSbrOPwTlr8wvYjlE96HqurftH/f88DlwNeBf15Vfzm6Ss+P4S5JHXJaRpI6ZLhLUocMd0nqkOEuSR0y3CWpQ4a7JHXIcJekDv0/x2MDq5GggCEAAAAASUVORK5CYII=\n"
          },
          "metadata": {
            "needs_background": "light"
          }
        }
      ],
      "execution_count": 5,
      "metadata": {
        "collapsed": true,
        "jupyter": {
          "source_hidden": false,
          "outputs_hidden": false
        },
        "nteract": {
          "transient": {
            "deleting": false
          }
        },
        "execution": {
          "iopub.status.busy": "2021-06-23T01:51:43.156Z",
          "iopub.execute_input": "2021-06-23T01:51:43.161Z",
          "shell.execute_reply": "2021-06-23T01:51:43.275Z",
          "iopub.status.idle": "2021-06-23T01:51:43.241Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "X = series.values\n",
        "split = round(len(X) / 2)\n",
        "X1, X2 = X[0:split], X[split:]\n",
        "mean1, mean2 = X1.mean(), X2.mean()\n",
        "var1, var2 = X1.var(), X2.var()\n",
        "print('mean1=%f, mean2=%f' % (mean1, mean2))\n",
        "print('variance1=%f, variance2=%f' % (var1, var2))"
      ],
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "mean1=3.017122, mean2=13.311733\n",
            "variance1=0.766209, variance2=30.028234\n"
          ]
        }
      ],
      "execution_count": 6,
      "metadata": {
        "collapsed": true,
        "jupyter": {
          "source_hidden": false,
          "outputs_hidden": false
        },
        "nteract": {
          "transient": {
            "deleting": false
          }
        },
        "execution": {
          "iopub.status.busy": "2021-06-23T01:51:43.247Z",
          "iopub.execute_input": "2021-06-23T01:51:43.250Z",
          "iopub.status.idle": "2021-06-23T01:51:43.260Z",
          "shell.execute_reply": "2021-06-23T01:51:43.278Z"
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "X = series.values\n",
        "X = np.log(X)\n",
        "plt.hist(X)\n",
        "plt.show()\n",
        "plt.plot(X)\n",
        "plt.show()"
      ],
      "outputs": [
        {
          "output_type": "display_data",
          "data": {
            "text/plain": "<Figure size 432x288 with 1 Axes>",
            "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXcAAAD4CAYAAAAXUaZHAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAOfElEQVR4nO3dX4xc5X3G8e8TILQqqEC9dV3jZmnkXpiqceiKUlFVVKgNASkmaoTMRWIQlaOWqEHKjcNFSSshUakhEv1D5BQUp0qToECCG0hbSpFQLkKyIEL4Exo3McKWwRtogYiKyuTXiz0u0/WuZ3Zndmfn7fcjjfbMe94z5/f67D4++86cs6kqJEltedu4C5AkjZ7hLkkNMtwlqUGGuyQ1yHCXpAadOu4CADZs2FDT09PjLkOSJsqjjz76o6qaWmzdugj36elpZmdnx12GJE2UJM8ttc5pGUlqkOEuSQ0y3CWpQYa7JDXIcJekBhnuktQgw12SGmS4S1KDDHdJatC6uEJV0omm99w3lv0evOWKsexXo+WZuyQ1yHCXpAYZ7pLUIMNdkhpkuEtSgwx3SWqQ4S5JDTLcJalBhrskNchwl6QG9Q33JFuSPJTk6SRPJflo1/6JJIeTPN49Lu/Z5uNJDiR5Nsl7VnMAkqQTDXJvmWPAx6rqsSRnAo8meaBb96mq+ovezkm2ATuB84FfBP4lya9U1ZujLFyStLS+Z+5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YKKOyyDjmJRjsgnYl/k/APQ24K6q+tqCn/k7gL9LcoD5n/md4yv3pAYZy8jyy9sPSFKDJm1aRpI0AMNdkhpkuEtSgwx3SWqQ4S5JDTLcJalBhrskNeh/AFx75LuGi42aAAAAAElFTkSuQmCC\n"
          },
          "metadata": {
            "needs_background": "light"
          }
        },
        {
          "output_type": "display_data",
          "data": {
            "text/plain": "<Figure size 432x288 with 1 Axes>",
            "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXQAAAD4CAYAAAD8Zh1EAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAA4CklEQVR4nO3dd3xb1dnA8d9jWd527NiO40xn74SAIQlhhhXCKiNvoS0Fyii0lLZ0Qemkb0tbKG2hI/AWKJuWTYGUTSAEEpKQPciejkcc7yVL5/3jXsmSLVuyI1uW/Xw/H3+ie3V1dWQ5j46ee85zxBiDUkqp2BcX7QYopZSKDA3oSinVR2hAV0qpPkIDulJK9REa0JVSqo+Ij9YT5+TkmIKCgmg9vVJKxaRVq1aVGWNyg90XtYBeUFDAypUro/X0SikVk0RkT3v3acpFKaX6CA3oSinVR2hAV0qpPkIDulJK9REhA7qIJInIChFZKyIbReSXQY65WkRKRWSN/XNd9zRXKaVUe8IZ5dIIzDPG1IiIE1gqIouNMZ+0Ou5fxpibI99EpZRS4QgZ0I1VjrHG3nTaP1qiUSmlepmwcugi4hCRNUAJ8JYxZnmQwy4VkXUi8pyIDG/nPDeIyEoRWVlaWtr1ViulVA/beqiaD7eVsn5/JbvLaqPdnKCkM/XQRSQTeBH4ljFmg9/+bKDGGNMoIl8HvmiMmdfRuQoLC41OLFJKxYqC214L2N7yq/kkOR093g4RWWWMKQx2X6dGuRhjKoD3gPmt9h82xjTam/8AjutCO5VSqldav7+yzb6KOlcUWtKxcEa55No9c0QkGTgL2NLqmHy/zQu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fKVW+3f66Jcvu3Y+XEvf+XF/kdf4fd/q3AuX77oxKndOq/Ukr1EbGWclFKKdUODehKKdVHaEBXSqk+QgO6Ukr1ERrQlVKqj9CArpRSfYQGdKWU6iP+Hzi/uszR8bxuAAAAAElFTkSuQmCC\n"
          },
          "metadata": {
            "needs_background": "light"
          }
        }
      ],
      "execution_count": 7,
      "metadata": {
        "collapsed": true,
        "jupyter": {
          "source_hidden": false,
          "outputs_hidden": false
        },
        "nteract": {
          "transient": {
            "deleting": false
          }
        },
        "execution": {
          "iopub.status.busy": "2021-06-23T01:51:43.265Z",
          "iopub.execute_input": "2021-06-23T01:51:43.271Z",
          "iopub.status.idle": "2021-06-23T01:51:43.429Z",
          "shell.execute_reply": "2021-06-23T01:51:43.423Z"
        }
      }
    },
    {
      "cell_type": "markdown",
      "source": [
        "# Hypothesis Testing\n",
        "\n",
        "#### Null Hypothesis (H0): If failed to be rejected, it suggests the time series has a unit root, meaning it is non-stationary. It has some time dependent structure.\n",
        "\n",
        "#### Alternate Hypothesis (H1): The null hypothesis is rejected; it suggests the time series does not have a unit root, meaning it is stationary. It does not have time-dependent structure.\n"
      ],
      "metadata": {
        "nteract": {
          "transient": {
            "deleting": false
          }
        }
      }
    },
    {
      "cell_type": "markdown",
      "source": [
        "#### p-value > 0.05: Fail to reject the null hypothesis (H0), the data has a unit root and is non-stationary.\n",
        "\n",
        "#### p-value <= 0.05: Reject the null hypothesis (H0), the data does not have a unit root and is stationary.\n"
      ],
      "metadata": {
        "nteract": {
          "transient": {
            "deleting": false
          }
        }
      }
    },
    {
      "cell_type": "code",
      "source": [
        "result = adfuller(X)\n",
        "print('ADF Statistic: %f' % result[0])\n",
        "print('p-value: %f' % result[1])\n",
        "print('Critical Values:')\n",
        "for key, value in result[4].items():\n",
        "\tprint('\\t%s: %.3f' % (key, value))"
      ],
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "ADF Statistic: -0.349428\n",
            "p-value: 0.918206\n",
            "Critical Values:\n",
            "\t1%: -3.436\n",
            "\t5%: -2.864\n",
            "\t10%: -2.568\n"
          ]
        }
      ],
      "execution_count": 8,
      "metadata": {
        "collapsed": true,
        "jupyter": {
          "source_hidden": false,
          "outputs_hidden": false
        },
        "nteract": {
          "transient": {
            "deleting": false
          }
        },
        "execution": {
          "iopub.status.busy": "2021-06-23T01:51:43.434Z",
          "iopub.execute_input": "2021-06-23T01:51:43.441Z",
          "iopub.status.idle": "2021-06-23T01:51:43.470Z",
          "shell.execute_reply": "2021-06-23T01:51:43.476Z"
        }
      }
    },
    {
      "cell_type": "markdown",
      "source": [
        "#### As a result, the value is larger than the critical values, again, meaning that we can fail to reject the null hypothesis and in turn that the time series is non-stationary."
      ],
      "metadata": {
        "nteract": {
          "transient": {
            "deleting": false
          }
        }
      }
    }
  ],
  "metadata": {
    "kernel_info": {
      "name": "python3"
    },
    "language_info": {
      "name": "python",
      "version": "3.6.12",
      "mimetype": "text/x-python",
      "codemirror_mode": {
        "name": "ipython",
        "version": 3
      },
      "pygments_lexer": "ipython3",
      "nbconvert_exporter": "python",
      "file_extension": ".py"
    },
    "kernelspec": {
      "argv": [
        "C:/Users/Tin Hang/Anaconda3\\python.exe",
        "-m",
        "ipykernel_launcher",
        "-f",
        "{connection_file}"
      ],
      "display_name": "Python 3",
      "language": "python",
      "name": "python3"
    },
    "nteract": {
      "version": "0.28.0"
    }
  },
  "nbformat": 4,
  "nbformat_minor": 0
}